/*
 * IState.cpp
 *
 * Abstract Base class for all states within
 * the state machine.
 *
 * Author: Zachary Masiello
 * Author: Peter-John Rowe
 */

#include "IState.h"

// Gets ID
int IState::getID() {
	return ID;
}

// Deconstructor
IState::~IState() {
}

// Gets stateName
string IState::getStateName() {
	return stateName;
}

// Returns the context
Cyclometer* IState::getContext() {
	return context;
}

// For Thread to run the activity
void* IState::run(IState * state) {
	state->activity();
}
